package com.systemic.mapper;

import com.systemic.pojo.LoveBank;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: LoveBankMapper
 * @Description:
 * @Author:
 * @CreateTime: 2024-02-03 17:56
 * @Version:
 **/
@Mapper
public interface LoveBankMapper extends BaseMapper<LoveBank>{

    LoveBank selectById(@Param("id") Integer id);

    List<LoveBank> selectListByUid(@Param("uid") Integer uid,
                                   @Param("offset") Integer offset,
                                   @Param("pageSize") Integer pageSize);

}
